﻿using System.ComponentModel.DataAnnotations;

namespace GameView.Services.Dtos.Project
{
    public class ProjectWithGamesInfo
    {
        public int Id { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public int CreatedUserId { get; set; }

        /// <summary>
        /// 修改人ID
        /// </summary>
        public int UpdatedUserId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string Remark { get; set; }

        /// <summary>
        /// 项目状态，启用/禁用
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [MaxLength(100)]
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }

        public List<GameInfoEntity> Games { get; set; }
    }
}